package org.marketlive.biz.session.context;

/*
 (C) Copyright MarketLive. 2006. All rights reserved.
 MarketLive is a trademark of MarketLive, Inc.
 Warning: This computer program is protected by copyright law and international treaties.
 Unauthorized reproduction or distribution of this program, or any portion of it, may result
 in severe civil and criminal penalties, and will be prosecuted to the maximum extent
 possible under the law.
 */

/**
 * Called when a customer registers.
 *
 */
public interface IRegisterCustomerExtension {

    /**
     * This method is called when a customer registers.
     *
     * @param commerceSession the currently used commerce session.
     * @param userId the customer's primary key as a string.
     * @param password the customer's password as a string.
     */
    void registerCustomer(ICommerceSession commerceSession, String userId, String password);
}
